import java.util.Scanner;

public class Ketang1 {
    public static void main(String[] args) {
        Scanner row=new Scanner(System.in);
        int n=row.nextInt();
        int x;
        int y;
        int z;
        for (x=0;x<=n;x++){
            for (z=0;z<=n-x;z++) {
                System.out.print(" ");
            }
                for (y = 1; y <=2*x-1; y++) {
                    System.out.print("*");


                }
                System.out.print("\n");
            }
        }


}
